const EventEmitter = require('../../common/EventEmitter.js');
const requester = require('../../common/requester.js');
const util = require('../../common/util.js');
const $$onLoad = require('../../appLoaded/onLoad');
const app = getApp();

Page({
    onShow: function () {
        this.goSharingHouse();
    },
    init: function () {
        this.goSharingHouse();
    },
    goSharingHouse: function () {
        wx.navigateToMiniProgram({
            appId: 'wx314ba9d5a339bc91',
            path: 'pages/houseList/houseList?shareCode=a10001'
        })
        setTimeout(() => {
            this.goPicList();
        }, 50)
    },
    goPicList: function (e) {
        wx.switchTab({
            url: '../pictureList/pictureList'
        });
    },
});
